package com.feign;

import com.entity.RecordRequest;
import com.entity.ZichanjiechuEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * ClassName: TokenFeignService
 * Description: TODO
 *
 * @since JDK 1.8
 */
@FeignClient(value = "enterprise-assets-cloud-borrow")
public interface BorrowFeignService {
    @PostMapping("/zichanjiechu/record")
    ZichanjiechuEntity record(@RequestBody RecordRequest request);
}
